/*    
    OpenMheg - A free MHEG-5 library
    Copyright (C) 2008 Dharmesh Malam

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

using System;
using System.Collections.Generic;
using System.Text;

namespace Core.Model.Util
{
    public static class DefaultContentHooks
    {

        private const int m2vContentHook = 2;

        public static int M2vContentHook
        {
            get { return DefaultContentHooks.m2vContentHook; }
            
        }

        private const int pngContentHook = 4;

        public static int PngContentHook
        {
            get { return DefaultContentHooks.pngContentHook; }
            
        }

        public static int BitmapContentHook
        {
            get { return PngContentHook; }
        }

        private const int textContentHook = 10;

        public static int TextContentHook
        {
            get { return DefaultContentHooks.textContentHook; }
            
        }

        private const int lineArtContentHook = 10;

        public static int LineArtContentHook
        {
            get { return DefaultContentHooks.lineArtContentHook; }
            
        }

        private const int entryFieldContentHook = 10;

        public static int EntryFieldContentHook
        {
            get { return DefaultContentHooks.entryFieldContentHook; }
            
        }
        private const int hyperTextContentHook = 10;

        public static int HyperTextContentHook
        {
            get { return DefaultContentHooks.hyperTextContentHook; }
            
        }

        private const int broadcastStreamContentHook = 10;

        public static int BroadcastStreamContentHook
        {
            get { return DefaultContentHooks.broadcastStreamContentHook; }
            
        }

        private const int fileStreamContentHook = 11;

        public static int FileStreamContentHook
        {
            get { return DefaultContentHooks.fileStreamContentHook; }
            
        }


        public static bool IsBitmapContentHool ( int contentHook )
        {
            return ( contentHook == PngContentHook || contentHook == M2vContentHook );
        }
    }
}
